# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=3proxy-win32
pkgver=0.8.13
pkgrel=1
groups=('blackarch' 'blackarch-windows' 'blackarch-proxy')
pkgdesc='Tiny free proxy server.'
url='http://3proxy.ru/'
license=('GPL')
arch=('any')
source=("https://github.com/z3APA3A/3proxy/releases/download/$pkgver/3proxy-$pkgver.zip")
sha512sums=('6b51e4fcbfa2a6f0be964691f252239cdd96bdd8680ad08fa98fc936dc76b966bbbee4e323264b528a39e3129b1a65cc43832b883e1ed98976759011fb3a6624')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm "3proxy-${pkgver}.zip"

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

